﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="InterfaceClient.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server" >
    <asp:Panel runat="server" ID="whennotconnected">
        <div>
            <asp:Label ID="Label1" runat="server" Text="Nom d'utilisateur"></asp:Label>
        </div>
        <p>
            <asp:TextBox ID="user" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="Label2" runat="server" Text="Mot de passe"></asp:Label>
        </p>
        <p>
            <asp:TextBox ID="pwd" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Button ID="seconnecter" runat="server" OnClick="seconnecter_Click" Text="Se connecter" />
        </p>

        </asp:Panel>
            <asp:Panel ID="whenconnected" runat="server">
                <div>
                    Contes<asp:ListBox ID="comptelist" runat="server" Height="100px" Width="100%" 
                    OnSelectedIndexChanged="contelist_SelectedIndexChanged" AutoPostBack="True">
                    </asp:ListBox>
                    <asp:Panel ID="historiquepanel0" runat="server">
                        Historique<asp:ListBox ID="historiquelist0" runat="server" Width="100%" 
                        Height="139px"></asp:ListBox>
                    </asp:Panel>
                </div>
    </asp:Panel>
        <asp:Label ID="errorlabel" runat="server" ForeColor="#CC0000"></asp:Label>
        </asp:Panel>
    </form>
</body>
</html>
